package com.kk.responsibilitychain;

import com.kk.responsibilitychain.request.PurchaseRequest;

public abstract class Approver {
    public String name;
    public Approver approver;

    public Approver(String name) {
        this.name = name;
    }

    public Approver getApprover() {
        return approver;
    }

    public void setApprover(Approver approver) {
        this.approver = approver;
    }

    public abstract void processRequest(PurchaseRequest purchaseRequest);
}
